// 初始化样式
* {
    margin: 0;
    padding: 0;
}

li,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background-color: #f6f7f8;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// 第四部分：主体部分 
.main {
    width: 100vw;
    margin: 15vw auto 10vw;

    .li_1 {
        width: 95vw;
        height: 40vw;
        margin: 3vw auto;
        border-radius: 2vw;
        background-color: #fff;
        text-indent: 4vw;

        .title {
            position: relative;
            width: 96vw;
            height: 9.8vw;
            font: normal bold 4.2vw/9.8vw "Microsoft YaHei";
            border-bottom: 0.2vw solid #f6f7f8;

            &::after {
                content: "设置";
                position: absolute;
                top: 1.5vw;
                right: 4vw;
                width: 15vw;
                height: 7vw;
                border-radius: 3.5vw;
                background-color: #1abaa0;
                text-indent: 0vw;
                font: normal normal 4vw/7vw "Microsoft YaHei";
                text-align: center;
                color: #fff;
            }
        }

        .tel {
            position: relative;
            width: 96vw;
            height: 9vw;
            font: normal normal 4vw/9vw "Microsoft YaHei";
            color: #666;

            &::after {
                content: "21";
                position: absolute;
                top: 0vw;
                right: 4vw;
                font: normal normal 4vw/9vw "Microsoft YaHei";
                text-align: center;
                color: #333;
            }
        }

        .share {
            position: relative;
            width: 96vw;
            height: 9vw;
            font: normal normal 4vw/9vw "Microsoft YaHei";
            color: #666;

            &::after {
                content: "100";
                position: absolute;
                top: 0vw;
                right: 4vw;
                font: normal normal 4vw/9vw "Microsoft YaHei";
                text-align: center;
                color: #333;
            }
        }

        .admin {
            position: relative;
            width: 96vw;
            height: 9vw;
            font: normal normal 4vw/9vw "Microsoft YaHei";
            color: #666;

            &::after {
                content: "纳雄补货员";
                position: absolute;
                top: 0vw;
                right: 4vw;
                font: normal normal 4vw/9vw "Microsoft YaHei";
                text-align: center;
                color: #333;
            }
        }
    }

    .li_2 {
        width: 95vw;
        height: 40vw;
        margin: 3vw auto;
        border-radius: 2vw;
        background-color: #fff;
        text-indent: 4vw;

        .title {
            position: relative;
            width: 96vw;
            height: 9.8vw;
            font: normal bold 4.2vw/9.8vw "Microsoft YaHei";
            border-bottom: 0.2vw solid #f6f7f8;

            &::after {
                content: "设置";
                position: absolute;
                top: 1.5vw;
                right: 4vw;
                width: 15vw;
                height: 7vw;
                border-radius: 3.5vw;
                background-color: #1abaa0;
                text-indent: 0vw;
                font: normal normal 4vw/7vw "Microsoft YaHei";
                text-align: center;
                color: #fff;
            }
        }

        .tel {
            position: relative;
            width: 96vw;
            height: 9vw;
            font: normal normal 4vw/9vw "Microsoft YaHei";
            color: #666;

            &::after {
                content: "10";
                position: absolute;
                top: 0vw;
                right: 4vw;
                font: normal normal 4vw/9vw "Microsoft YaHei";
                text-align: center;
                color: #333;
            }
        }

        .share {
            position: relative;
            width: 96vw;
            height: 9vw;
            font: normal normal 4vw/9vw "Microsoft YaHei";
            color: #666;

            &::after {
                content: "100";
                position: absolute;
                top: 0vw;
                right: 4vw;
                font: normal normal 4vw/9vw "Microsoft YaHei";
                text-align: center;
                color: #333;
            }
        }

        .admin {
            position: relative;
            width: 96vw;
            height: 9vw;
            font: normal normal 4vw/9vw "Microsoft YaHei";
            color: #666;

            &::after {
                content: "纳雄补货员";
                position: absolute;
                top: 0vw;
                right: 4vw;
                font: normal normal 4vw/9vw "Microsoft YaHei";
                text-align: center;
                color: #333;
            }
        }
    }
}

// 第五部分：代理设置功能
.set {
    display: none;
    position: fixed;
    left: 0vw;
    bottom: 0vw;
    width: 100vw;
    height: 62vw;
    background-color: #fff;
    z-index: 999;

    li {
        width: 100vw;
        height: 12vw;
        border-bottom: 0.2vw solid #f6f7f8;

        a {
            display: block;
            width: 100vw;
            height: 12vw;
            font: normal normal 5vw/12vw "Microsoft YaHei";
            text-align: center;
            color: #333;
        }
    }
}

// 底部--模块
.footer {
    position: fixed;
    right: 5vw;
    bottom: 10vw;
    display: block;
    width: 12vw;
    height: 12vw;
    border-radius: 6vw;
    box-shadow: 0vw 0 0.5vw 0.5vw #019fe6;
    background: #019fe6 url(../images/加号.png) no-repeat center;
    background-size: contain;
}